

// 种子文件

'use strict';

module.exports = {
  async up (queryInterface, Sequelize) {
   
     await queryInterface.bulkInsert('Articles', [
      {
       title: '邓紫棋',
       content: '光年之外,七里香',
       createdAt:new Date(),
       updatedAt: new Date(),
     },
     {
      title: '张三丰',
      content: '降龙十八掌',
      createdAt:new Date(),
      updatedAt: new Date(),
    }
    ], {});
   
  },

  async down (queryInterface, Sequelize) {

     await queryInterface.bulkDelete('Articles', null, {});
     
  }
};
